Montagovian Definite Clause Grammar

نویسنده

  • R. I. Bainbridge
چکیده

This paper reports a completed stage of ongoing research at the University oF York. Landsbergen's advocacy of analytical inverses ~or compositional suntax rules encourages the application of Definite Clause Grammar techniques to the cons-t~uction of a parser returning Montague analysis trees. A parser MDCg is presented which implements an augmented Friedman-Warren algorithm permitting post referencing, and interfaces with a language oF intensional logic translator LILT so as to display the dorivattonal history of corresponding reduced IL Form-ulae. Some familiarity with Montague's PTG and the basic DCQ mechanism is assumed. Consideration is given by Landsbergen (20] to the global algorithmic structure of a top down parser demonstrably equivalent to a compositional grammar such as that of PTG [223. The method is as Follo~s: 1. Formulate the original grammar in te~ms of indexed compositional-M rules of form: If syntax trees ~Sk..Sn) satisf~ condition C then combine <Sk.. Sn~ into Sj such that the compositional history may be represented on a derivation tree (i.e. a skeletal analgsis tree lacking node labels). ~. Subject to specified restraints evolve inverse analytical-M Rules of form: If Sj conforms to condition C" then analgse Sj into <Sk..Sn~. 3. P~ove that the composltional and analytical M ~ules are equivalent. 4. Construct a two stage parser: (i) Parse • sentence using a context free grammar (CFg) thus deriving a syntax tree. (ii) Traverse the svntax tree in postorder [19] under the guidance of the analytical-M rules, constructing the derivation tree which reflects the reverse order application of the inverse rules. An abstract algorithm describing the parser is given in the Form of procedural pseudo code, however the problem of establlshing that an implementation conForms to the algorithm is deferred, a problem perh • ps aggravated bv the absence Of • Formal notation for M rules which might otherwise have suggested appropriate data structures. The postorder traverse in (ii) of a preorder ere • tiDe involves a duplication which may be • voided by • dopting the PROLOG Definite Clause grammar (DCg) formalism, (C28] of. [3], £4], C5], [21]), which, as has been observed [32] virtually forces the methodology of syntax directed translation coupled with compositional semantics. A DCG may be ingenuously characterised as a CFQ having category sumbols augmented by argument places, and cont • ining supplementary goals not limited in function to input consumption.. Logical variables in argument places permit synthesised and inherited attributes (18] to be handled …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Generalized Greibach Normal Form for Definite Clause Grammars

An arbitrary definite clause grammar can be transforaled into a so-called Generalized Greibach Normal Form (GGNF), a generalization of the classical Greibach Normat Form (GNF) for context-free grammars. The normalized definite clause grammar is declaratively equivalent to the original definite clause grammar, that is, it assigns the same analyses to the same strings. Offline-parsability of the ...

متن کامل

Stochastic Definite Clause Grammars

This paper introduces Stochastic Definite Clause Grammars, a stochastic variant of the wellknown Definite Clause Grammars. The grammar formalism supports parameter learning from annotated or unannotated corpora and provides a mechanism for parse selection by means of statistical inference. Unlike probabilistic contextfree grammars, it is a context-sensitive grammar formalism and it has the abil...

متن کامل

Compiling HPSG Type Constraints into Definite Clause Programs

We present a new approach to HPSG processing: compiling HPSG grammars expressed as type constraints into definite clause programs. This provides a clear and computationally useful correspondence between linguistic theories and their implementation. The compiler performs off-line constraint inheritance and code optimization. As a result, we are able to efficiently process with HPSG grammars with...

متن کامل

Computational linguistics and mathematical logic from a computer science point of view

Let us look at a special type of context sensitive grammars, the so-called Definite Clause Grammars, or DCG, as described by Pereira and Warren (l980). The following question seems natural here: every context sensitive language be described by meeins of a definite clause grammar ? The question must be answered in the eiffirmative, as can be seen by simu­ lating Turing machines or better Markov ...

متن کامل

Logic grammars and XML Schema

This document describes some possible applications of logic grammars to schema processing as described in the XML Schema specification. The term logic grammar is used to denote grammars written in logic-programming systems; the best known logic grammars are probably definite-clause grammars (DCGs), which are a built-in part of most Prolog systems. This paper works with definite-clause translati...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1985